package com.my12306.user.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.my12306.user.model.po.FollowEntity;
import com.my12306.user.model.vo.FollowVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:苏牧夕
 * @Date:2020/6/19 19:08
 * @Version 1.0
 */
@Mapper
public interface FollowDao extends BaseMapper<FollowEntity> {
    /**
     * 查询粉丝列表/关注列表
     *
     * @param fansId
     * @param masterId
     * @param logicDelete
     * @return
     */
    List<FollowVo> selectFollowList(@Param("fansId") Long fansId, @Param("masterId") Long masterId, @Param("logicDelete") Integer logicDelete);
}
